//---Standard Plane Config for Flans Mod----------
//Created by Minecraft-SMP Toolbox 2.0.0.0


//---Standard-------------------------------------
//Naming
Name Dewoitine D520
ShortName D520


//Visuals
Model faf.d520
Texture d520
Icon icond520
ModelScale 1


//Recipe


//Misc

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals



//Movement
MaxThrottle 0.85
MaxNegativeThrottle 0.0
Drag 1.0


//Wheels
NumWheels 3
WheelPosition 0 39 -36 -28
WheelPosition 1 39 -36 28
WheelPosition 2 -78 -10 0
WheelSpringStrength 0.125


//Inventory Slots
FuelTankSize 6000
BombSlots 1
CargoSlots 0
MissileSlots 0


//Recipe
AddRecipeParts core 1 Repair
AddRecipeParts engine 1 Repair
AddRecipeParts rightWing 1 lostWing
AddRecipeParts leftWing 1 lostWing
AddRecipeParts tail 5 Repair
AddRecipeParts airframe 1 lostWing


//Floating



AllowAllAmmo False
AddAmmo 250kg
AddAmmo 100kg
AddAmmo 50kg
Primary Gun
ShootParticlesPrimary flame 0 0 0
ModePrimary FullAuto
AlternatePrimary False

ShootPointPrimary 48 -8 -30 leftWing browning
ShootPointPrimary 48 -8 -34 leftWing browning
ShootPointPrimary 47 -8 -38 leftWing browning
ShootPointPrimary 48 -8 30 rightWing browning
ShootPointPrimary 48 -8 34 rightWing browning
ShootPointPrimary 47 -8 38 rightWing browning

ShootDelayPrimary 3
Secondary Bomb
ModeSecondary FullAuto
AlternateSecondary False
ShootPointSecondary 0 -12 0
ShootDelaySecondary 70

//Driver and Passengers
Pilot -5 -1 0
Passengers 0

flightCeiling 1125

//Sounds

ShootSoundPrimary BritSevenMM
ShootSoundSecondary bomb
PlaceSoundPrimary Spitfire_PlaceSound


//Health and collision

SetupPart nose 100 85 -2 -6 10 12 12
SetupPart nose 100 43 -16 -12 42 29 24
SetupPart core 100 9 -15 -12 34 29 24
SetupPart bay 100 7 -19 -10 34 5 20
SetupPart core 100 -25 -15 -12 34 36 24
SetupPart core 100 -47 -11 -10 22 30 20
SetupPart tail 100 -95 -7 -7 48 22 14
SetupPart tail 100 -93 15 -2 42 21 4
SetupPart tail 100 -84 9 -40 27 2 80
SetupPart leftWing 100 -3 -13 -113 54 12 101
SetupPart rightWing 100 -3 -12 12 54 12 101

CollisionPoint 95 4 0 nose
CollisionPoint 60 4 0 nose
CollisionPoint 24 4 0 core
CollisionPoint -5 4 0 core
CollisionPoint -37 4 0 core
CollisionPoint 24 -17 0 bay
CollisionPoint -70 4 0 tail
CollisionPoint -78 30 0 tail
CollisionPoint -72 10 -34 core
CollisionPoint -72 10 33 tail
CollisionPoint 29 -7 -62 leftWing
CollisionPoint 28 -3 -101 leftWing
CollisionPoint 29 -7 62 rightWing
CollisionPoint 28 -3 101 rightWing
BulletDetection 10


//Misc
CameraDistance 10.0

//------------------------------------------------

//---Plane----------------------------------------
//Flying Mode
Mode Plane


//Visuals


//Movement
TurnLeftSpeed 1.1
TurnRightSpeed 1.1
//Pitch modifiers
LookUpSpeed 1.3
LookDownSpeed 1.3
//Roll modifiers
RollLeftSpeed 1.18
RollRightSpeed 1.18

//Sound
StartSound propStart
StartSoundLength 20
PropSound propSound
PropSoundLength 30
ShootSoundPrimary YakShoot
ShootSoundSecondary Yak_37mmShoot
PlaceSoundPrimary A6M2_PlaceSound

//Weapon


//Misc
RestingPitch 5.0


//Propeller
Propeller 0 -87 -30 0 nose metalPropeller

//------------------------------------------------

IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 20

Description Tier 0.5_British Fighter_1125 Block Flight Celing_Bombload 250kg x 1_Max Speed 370 mph

//nu flight model

//kilogram mass: somewhere between empty and max takeoff weight
mass 2500

//cruise speed for afterburn planes. default is 610mph, common for most jets, but set higher if you want super cruise
cruiseSpeed 300


//takeoff speed is anything above stall speed (mph)
//code automatically calculates engine power so this will be real takeoff speed
takeoffSpeed 85

//code learns true lift from this (meter/second)
climbRate 200

//code learns true drag from this (mph)
//diving speed is mechanically accurate by actually adding gravity to acceleration when diving
maximumSpeed 340

//these two are for gun recoil in M/s
muzzleVelocity 853

//if one 50 cal bullet is 10kg but there are 6 guns, enter 60kg
projectileMass 0.3

//multiplier to fuel consumption when afterburner on
afterBurnFuelPenalty 1.5

//measured in seconds at 100%throttle afterburner off
labjacFuel 720
//---end of new shit----